﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login</title>
    <link href="Styles/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="login">
        <div class="title_login">
            Log In
        </div><!-- title -->
        <div class="content_login">
            <table style="width: 100%;">
                <tr>
                    <td>
                        Username: 
                    </td>
                    <td>
                        <asp:TextBox ID="txtUser" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ErrorMessage="*" ControlToValidate="txtUser" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                    
                </tr>
                <tr>
                    <td>
                       Password: 
                    </td>
                    <td>

                        <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ErrorMessage="*" ControlToValidate="txtPass" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                    
                </tr>
               
            </table>
        </div><!-- content -->
        <div class="foot_login">
            <asp:Button ID="btnLogin" runat="server" Text="Sign in" 
                onclick="btnLogin_Click" />            
        </div><!-- foot -->
        <div>
            <asp:Label ID="lbMessage" runat="server" 
                Text="The Username or Password you entered is invalid." ForeColor="Red" 
                Visible="False"></asp:Label>
        </div>
    </div><!-- login -->
    </form>
</body>
</html>
